Skip to content

Conversation

dmitriy-sobolev
Copy link
Contributor

@dmitriy-sobolev dmitriy-sobolev commented Jul 20, 2025

Adding includes, set_union, set_intersection, set_difference, set_symmetric_difference parallel range algorithms into oneDPL specification.

Copy link
Contributor

@danhoeflinger danhoeflinger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not finding any issues here, I checked it against the paper, and it all seems good, and not using anything beyond c++20...
LGTM

@akukanov akukanov merged commit 51eec18 into uxlfoundation:main Aug 22, 2025
3 checks passed
Comment on lines +454 to +456
std::ranges::set_difference_result<std::ranges::borrowed_iterator_t<R1>,
std::ranges::borrowed_iterator_t<R2>,
std::ranges::borrowed_iterator_t<OutR>>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems like we missed a mistake here:
std::ranges::borrowed_iterator_t<R2>, should not be here according to the paper or std::ranges::set_difference_result definition

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch. I've prepared #637 to fix it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants